<?php if (!defined('THINK_PATH')) exit();?>
<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>404</title>
</head>
<body>

<div style="width:300px;margin:15% auto;border:solid 1px #aaa;padding-left:20px;">
    <h1>404</h1>
    <p>您访问的页面找不回来了&nbsp;<span>5</span>&nbsp;<a href="/Index/index">返回首页</a></p>
</div>
<script type="text/javascript">

    var tag =setInterval(function(){
    var data= document.getElementsByTagName("span")[0].innerHTML;
    data--;
    if(data<=0){
        clearInterval(tag);
        location.href= "/Index/index";
        }else{
        document.getElementsByTagName("span")[0].innerHTML=data;
    }
},1000);
</script>

</body>
</html>